home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Tools / Win95 Secrets / SETUP.Z / HOOKAPI.H < prev    next >
Encoding:
Text File  |  1995-07-19  |  540 b   |  15 lines

  1. //==================================
  2. // SIMONSEZ - Matt Pietrek 1995
  3. // FILE: HOOKAPI.H
  4. //==================================
  5.  
  6. // Returns: Original address of intercepted function (for chaining on)
  7. PROC
  8. WINAPI
  9. HookImportedFunction(
  10.         HMODULE hFromModule,        // Module to intercept calls from
  11.         PSTR    pszFunctionModule,  // Module to intercept calls to
  12.         PSTR    pszFunctionName,    // Function to intercept calls to
  13.         PROC    pfnNewProc          // New function (replaces old function)
  14.         );
  15.